package cn.com.edu.nju.ecrec.dao;

import java.util.List;

import cn.com.edu.nju.ecrec.model.Item;

public interface ItemDao extends AbstractDao<Item> {
	public void deleteById(long id);
	public Item getByUriName(String uri_name);
	public List<Long> getIds();
	public int getCount();
	public List<Item> getAll();
	
	public List<Item> getByBrand(String brand);
	public List<Item> getByCategory(String category);
	public List<Item> getByClassify(String classify);
	public List<Item> getByGoodsPrice(double goods_price);
	public List<Item> getByColor(String color);
	
	public List<String> getBrands();
	public List<String> getCategories();
	public List<String> getClassifies();
	public List<Double> getGoodsPrices();
	public List<String> getColors();
	public List<String> getUriNames();
}